package com.ymq.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ymq.reggie.dto.DishDto;
import com.ymq.reggie.entity.Dish;
import com.ymq.reggie.mapper.DishMapping;
import org.springframework.stereotype.Service;

import java.util.List;


public interface DishService extends IService<Dish>  {

    // 新增菜品
    public  void saveWithflave(DishDto dishDto);

    public DishDto getById(Long id);

    public void updateDishWithFlavor(DishDto dishDto);

    List<DishDto> updateRedisDish(Dish dish);
}
